package com.manager.plat.dao;

import java.util.List;

import com.manager.plat.vo.LimitBusinessVo;

/**
 * 业务总量限制数据接口层
 * @author liugeng
 *
 */
public interface ILimitBusinessDao {
	/**获得所有省份管控配置信息列表*/
	public List<LimitBusinessVo> getLimitBusinessList();
	/**批量保存省份管控配置信息*/
	public int batchInsertLimitBusiness(List<LimitBusinessVo> limitBusinessList);
	/**更新渠道省份管控配置信息*/
	public int updateLowerLimitBusiness(LimitBusinessVo limitBusinessVo);
	/**根据渠道ID和省份信息获得业务总量限制信息*/
	public LimitBusinessVo getLimitBusinessByLowerIdAndProvince(int lower_id, String province);
	/**更新长号码省份管控配置信息*/
	public int updateLimitBusiness(LimitBusinessVo limitBusinessVo);
	/**删除长号码省份管控配置信息*/
	public int deleteLimitBusiness(int lower_id, String province);
	/**删除渠道省份管控配置信息*/
	public int deleteLowerLimitBusiness(int lower_id);
	/**根据渠道ID获得该渠道下的所有省份*/
	public List<String> getLowerLimitBusinessProvinceById(int lower_id);
}
